import React from 'react'
import ReactDOM from 'react-dom/client'
import {RouterProvider} from "react-router-dom";
import router from "@/router/index.jsx";
import '@/index.css'
// 导入定制全局主题样式文件
import './GlobalStyle.css'

// 导入使用 Redux
import {Provider} from "react-redux";
import store from "@/store/index.jsx";

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
      <Provider store={store}>
          <RouterProvider router={router}></RouterProvider>
      </Provider>
  </React.StrictMode>,
)
